package com.team5101.service.impl;

import com.team5101.dao.ISearchFilmDao;
import com.team5101.entity.NextFilm;
import com.team5101.entity.NowFilm;
import com.team5101.entity.VO.SearchFilmVO;
import com.team5101.service.ISearchFilmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
 @Service
public class ISearchFilmServiceImpl implements ISearchFilmService {

     @Autowired
     private ISearchFilmDao searchFilmDao;


     public List<NowFilm> getnowfilm(String name) {
         return searchFilmDao.getnowfilm(name);
     }

     public List<NextFilm> getnextfilm(String name) {
         return searchFilmDao.getnextfilm(name);
     }
 }
